package com.wn.entity;

public class Permission {
    private int id;
    private String name;
    private String code;
    private String link;
    private int parent_id;
    private String type;
    private String status;

    public Permission() {
    }

    public Permission(int id, String name, String code, String link, int parent_id, String type, String status) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.link = link;
        this.parent_id = parent_id;
        this.type = type;
        this.status = status;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", link='" + link + '\'' +
                ", parent_id=" + parent_id +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
